package com.mlearning.demo.pojo.neo4j;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Book implements Serializable {
    private int id;
    private String name;
    private String author;
    private String img;
    private String score;
    private String bookInfo;
    private String scorenum;
    private String authorIntro;
    private String bookIntro;
  public Book(int id, String name,String author,String img,String bookIntro){
      this.id=id;
      this.name=name;
      this.author=author;
      this.img=img;
      this.bookIntro=bookIntro;
  }
}
